home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / xcb / shm.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-09-17  |  22.0 KB  |  725 lines

  1. /*
  2.  * This file generated automatically from shm.xml by c-client.xsl using XSLT.
  3.  * Edit at your peril.
  4.  */
  5.  
  6. /**
  7.  * @defgroup XCB_Shm_API XCB Shm API
  8.  * @brief Shm XCB Protocol Implementation.
  9.  * @{
  10.  **/
  11.  
  12. #ifndef __SHM_H
  13. #define __SHM_H
  14.  
  15. #include "xcb.h"
  16. #include "xproto.h"
  17.  
  18. #define XCB_SHM_MAJOR_VERSION 1
  19. #define XCB_SHM_MINOR_VERSION 1
  20.   
  21. extern xcb_extension_t xcb_shm_id;
  22.  
  23. typedef uint32_t xcb_shm_seg_t;
  24.  
  25. /**
  26.  * @brief xcb_shm_seg_iterator_t
  27.  **/
  28. typedef struct xcb_shm_seg_iterator_t {
  29.     xcb_shm_seg_t *data; /**<  */
  30.     int            rem; /**<  */
  31.     int            index; /**<  */
  32. } xcb_shm_seg_iterator_t;
  33.  
  34. /** Opcode for xcb_shm_completion. */
  35. #define XCB_SHM_COMPLETION 0
  36.  
  37. /**
  38.  * @brief xcb_shm_completion_event_t
  39.  **/
  40. typedef struct xcb_shm_completion_event_t {
  41.     uint8_t        response_type; /**<  */
  42.     uint8_t        pad0; /**<  */
  43.     uint16_t       sequence; /**<  */
  44.     xcb_drawable_t drawable; /**<  */
  45.     xcb_shm_seg_t  shmseg; /**<  */
  46.     uint16_t       minor_event; /**<  */
  47.     uint8_t        major_event; /**<  */
  48.     uint8_t        pad1; /**<  */
  49.     uint32_t       offset; /**<  */
  50. } xcb_shm_completion_event_t;
  51.  
  52. /** Opcode for xcb_shm_bad_seg. */
  53. #define XCB_SHM_BAD_SEG 0
  54.  
  55. typedef xcb_value_error_t xcb_shm_bad_seg_error_t;
  56.  
  57. /**
  58.  * @brief xcb_shm_query_version_cookie_t
  59.  **/
  60. typedef struct xcb_shm_query_version_cookie_t {
  61.     unsigned int sequence; /**<  */
  62. } xcb_shm_query_version_cookie_t;
  63.  
  64. /** Opcode for xcb_shm_query_version. */
  65. #define XCB_SHM_QUERY_VERSION 0
  66.  
  67. /**
  68.  * @brief xcb_shm_query_version_request_t
  69.  **/
  70. typedef struct xcb_shm_query_version_request_t {
  71.     uint8_t  major_opcode; /**<  */
  72.     uint8_t  minor_opcode; /**<  */
  73.     uint16_t length; /**<  */
  74. } xcb_shm_query_version_request_t;
  75.  
  76. /**
  77.  * @brief xcb_shm_query_version_reply_t
  78.  **/
  79. typedef struct xcb_shm_query_version_reply_t {
  80.     uint8_t  response_type; /**<  */
  81.     uint8_t  shared_pixmaps; /**<  */
  82.     uint16_t sequence; /**<  */
  83.     uint32_t length; /**<  */
  84.     uint16_t major_version; /**<  */
  85.     uint16_t minor_version; /**<  */
  86.     uint16_t uid; /**<  */
  87.     uint16_t gid; /**<  */
  88.     uint8_t  pixmap_format; /**<  */
  89. } xcb_shm_query_version_reply_t;
  90.  
  91. /** Opcode for xcb_shm_attach. */
  92. #define XCB_SHM_ATTACH 1
  93.  
  94. /**
  95.  * @brief xcb_shm_attach_request_t
  96.  **/
  97. typedef struct xcb_shm_attach_request_t {
  98.     uint8_t       major_opcode; /**<  */
  99.     uint8_t       minor_opcode; /**<  */
  100.     uint16_t      length; /**<  */
  101.     xcb_shm_seg_t shmseg; /**<  */
  102.     uint32_t      shmid; /**<  */
  103.     uint8_t       read_only; /**<  */
  104. } xcb_shm_attach_request_t;
  105.  
  106. /** Opcode for xcb_shm_detach. */
  107. #define XCB_SHM_DETACH 2
  108.  
  109. /**
  110.  * @brief xcb_shm_detach_request_t
  111.  **/
  112. typedef struct xcb_shm_detach_request_t {
  113.     uint8_t       major_opcode; /**<  */
  114.     uint8_t       minor_opcode; /**<  */
  115.     uint16_t      length; /**<  */
  116.     xcb_shm_seg_t shmseg; /**<  */
  117. } xcb_shm_detach_request_t;
  118.  
  119. /** Opcode for xcb_shm_put_image. */
  120. #define XCB_SHM_PUT_IMAGE 3
  121.  
  122. /**
  123.  * @brief xcb_shm_put_image_request_t
  124.  **/
  125. typedef struct xcb_shm_put_image_request_t {
  126.     uint8_t        major_opcode; /**<  */
  127.     uint8_t        minor_opcode; /**<  */
  128.     uint16_t       length; /**<  */
  129.     xcb_drawable_t drawable; /**<  */
  130.     xcb_gcontext_t gc; /**<  */
  131.     uint16_t       total_width; /**<  */
  132.     uint16_t       total_height; /**<  */
  133.     uint16_t       src_x; /**<  */
  134.     uint16_t       src_y; /**<  */
  135.     uint16_t       src_width; /**<  */
  136.     uint16_t       src_height; /**<  */
  137.     int16_t        dst_x; /**<  */
  138.     int16_t        dst_y; /**<  */
  139.     uint8_t        depth; /**<  */
  140.     uint8_t        format; /**<  */
  141.     uint8_t        send_event; /**<  */
  142.     uint8_t        pad0; /**<  */
  143.     xcb_shm_seg_t  shmseg; /**<  */
  144.     uint32_t       offset; /**<  */
  145. } xcb_shm_put_image_request_t;
  146.  
  147. /**
  148.  * @brief xcb_shm_get_image_cookie_t
  149.  **/
  150. typedef struct xcb_shm_get_image_cookie_t {
  151.     unsigned int sequence; /**<  */
  152. } xcb_shm_get_image_cookie_t;
  153.  
  154. /** Opcode for xcb_shm_get_image. */
  155. #define XCB_SHM_GET_IMAGE 4
  156.  
  157. /**
  158.  * @brief xcb_shm_get_image_request_t
  159.  **/
  160. typedef struct xcb_shm_get_image_request_t {
  161.     uint8_t        major_opcode; /**<  */
  162.     uint8_t        minor_opcode; /**<  */
  163.     uint16_t       length; /**<  */
  164.     xcb_drawable_t drawable; /**<  */
  165.     int16_t        x; /**<  */
  166.     int16_t        y; /**<  */
  167.     uint16_t       width; /**<  */
  168.     uint16_t       height; /**<  */
  169.     uint32_t       plane_mask; /**<  */
  170.     uint8_t        format; /**<  */
  171.     uint8_t        pad0[3]; /**<  */
  172.     xcb_shm_seg_t  shmseg; /**<  */
  173.     uint32_t       offset; /**<  */
  174. } xcb_shm_get_image_request_t;
  175.  
  176. /**
  177.  * @brief xcb_shm_get_image_reply_t
  178.  **/
  179. typedef struct xcb_shm_get_image_reply_t {
  180.     uint8_t        response_type; /**<  */
  181.     uint8_t        depth; /**<  */
  182.     uint16_t       sequence; /**<  */
  183.     uint32_t       length; /**<  */
  184.     xcb_visualid_t visual; /**<  */
  185.     uint32_t       size; /**<  */
  186. } xcb_shm_get_image_reply_t;
  187.  
  188. /** Opcode for xcb_shm_create_pixmap. */
  189. #define XCB_SHM_CREATE_PIXMAP 5
  190.  
  191. /**
  192.  * @brief xcb_shm_create_pixmap_request_t
  193.  **/
  194. typedef struct xcb_shm_create_pixmap_request_t {
  195.     uint8_t        major_opcode; /**<  */
  196.     uint8_t        minor_opcode; /**<  */
  197.     uint16_t       length; /**<  */
  198.     xcb_pixmap_t   pid; /**<  */
  199.     xcb_drawable_t drawable; /**<  */
  200.     uint16_t       width; /**<  */
  201.     uint16_t       height; /**<  */
  202.     uint8_t        depth; /**<  */
  203.     uint8_t        pad0[3]; /**<  */
  204.     xcb_shm_seg_t  shmseg; /**<  */
  205.     uint32_t       offset; /**<  */
  206. } xcb_shm_create_pixmap_request_t;
  207.  
  208. /**
  209.  * Get the next element of the iterator
  210.  * @param i Pointer to a xcb_shm_seg_iterator_t
  211.  *
  212.  * Get the next element in the iterator. The member rem is
  213.  * decreased by one. The member data points to the next
  214.  * element. The member index is increased by sizeof(xcb_shm_seg_t)
  215.  */
  216.  
  217. /*****************************************************************************
  218.  **
  219.  ** void xcb_shm_seg_next
  220.  ** 
  221.  ** @param xcb_shm_seg_iterator_t *i
  222.  ** @returns void
  223.  **
  224.  *****************************************************************************/
  225.  
  226. void
  227. xcb_shm_seg_next (xcb_shm_seg_iterator_t *i  /**< */);
  228.  
  229. /**
  230.  * Return the iterator pointing to the last element
  231.  * @param i An xcb_shm_seg_iterator_t
  232.  * @return  The iterator pointing to the last element
  233.  *
  234.  * Set the current element in the iterator to the last element.
  235.  * The member rem is set to 0. The member data points to the
  236.  * last element.
  237.  */
  238.  
  239. /*****************************************************************************
  240.  **
  241.  ** xcb_generic_iterator_t xcb_shm_seg_end
  242.  ** 
  243.  ** @param xcb_shm_seg_iterator_t i
  244.  ** @returns xcb_generic_iterator_t
  245.  **
  246.  *****************************************************************************/
  247.  
  248. xcb_generic_iterator_t
  249. xcb_shm_seg_end (xcb_shm_seg_iterator_t i  /**< */);
  250.  
  251. /**
  252.  * Delivers a request to the X server
  253.  * @param c The connection
  254.  * @return A cookie
  255.  *
  256.  * Delivers a request to the X server.
  257.  * 
  258.  */
  259.  
  260. /*****************************************************************************
  261.  **
  262.  ** xcb_shm_query_version_cookie_t xcb_shm_query_version
  263.  ** 
  264.  ** @param xcb_connection_t *c
  265.  ** @returns xcb_shm_query_version_cookie_t
  266.  **
  267.  *****************************************************************************/
  268.  
  269. xcb_shm_query_version_cookie_t
  270. xcb_shm_query_version (xcb_connection_t *c  /**< */);
  271.  
  272. /**
  273.  * Delivers a request to the X server
  274.  * @param c The connection
  275.  * @return A cookie
  276.  *
  277.  * Delivers a request to the X server.
  278.  * 
  279.  * This form can be used only if the request will cause
  280.  * a reply to be generated. Any returned error will be
  281.  * placed in the event queue.
  282.  */
  283.  
  284. /*****************************************************************************
  285.  **
  286.  ** xcb_shm_query_version_cookie_t xcb_shm_query_version_unchecked
  287.  ** 
  288.  ** @param xcb_connection_t *c
  289.  ** @returns xcb_shm_query_version_cookie_t
  290.  **
  291.  *****************************************************************************/
  292.  
  293. xcb_shm_query_version_cookie_t
  294. xcb_shm_query_version_unchecked (xcb_connection_t *c  /**< */);
  295.  
  296. /**
  297.  * Return the reply
  298.  * @param c      The connection
  299.  * @param cookie The cookie
  300.  * @param e      The xcb_generic_error_t supplied
  301.  *
  302.  * Returns the reply of the request asked by
  303.  * 
  304.  * The parameter @p e supplied to this function must be NULL if
  305.  * xcb_shm_query_version_unchecked(). is used.
  306.  * Otherwise, it stores the error if any.
  307.  */
  308.  
  309. /*****************************************************************************
  310.  **
  311.  ** xcb_shm_query_version_reply_t * xcb_shm_query_version_reply
  312.  ** 
  313.  ** @param xcb_connection_t                *c
  314.  ** @param xcb_shm_query_version_cookie_t   cookie
  315.  ** @param xcb_generic_error_t            **e
  316.  ** @returns xcb_shm_query_version_reply_t *
  317.  **
  318.  *****************************************************************************/
  319.  
  320. xcb_shm_query_version_reply_t *
  321. xcb_shm_query_version_reply (xcb_connection_t                *c  /**< */,
  322.                              xcb_shm_query_version_cookie_t   cookie  /**< */,
  323.                              xcb_generic_error_t            **e  /**< */);
  324.  
  325. /**
  326.  * Delivers a request to the X server
  327.  * @param c The connection
  328.  * @return A cookie
  329.  *
  330.  * Delivers a request to the X server.
  331.  * 
  332.  * This form can be used only if the request will not cause
  333.  * a reply to be generated. Any returned error will be
  334.  * saved for handling by xcb_request_check().
  335.  */
  336.  
  337. /*****************************************************************************
  338.  **
  339.  ** xcb_void_cookie_t xcb_shm_attach_checked
  340.  ** 
  341.  ** @param xcb_connection_t *c
  342.  ** @param xcb_shm_seg_t     shmseg
  343.  ** @param uint32_t          shmid
  344.  ** @param uint8_t           read_only
  345.  ** @returns xcb_void_cookie_t
  346.  **
  347.  *****************************************************************************/
  348.  
  349. xcb_void_cookie_t
  350. xcb_shm_attach_checked (xcb_connection_t *c  /**< */,
  351.                         xcb_shm_seg_t     shmseg  /**< */,
  352.                         uint32_t          shmid  /**< */,
  353.                         uint8_t           read_only  /**< */);
  354.  
  355. /**
  356.  * Delivers a request to the X server
  357.  * @param c The connection
  358.  * @return A cookie
  359.  *
  360.  * Delivers a request to the X server.
  361.  * 
  362.  */
  363.  
  364. /*****************************************************************************
  365.  **
  366.  ** xcb_void_cookie_t xcb_shm_attach
  367.  ** 
  368.  ** @param xcb_connection_t *c
  369.  ** @param xcb_shm_seg_t     shmseg
  370.  ** @param uint32_t          shmid
  371.  ** @param uint8_t           read_only
  372.  ** @returns xcb_void_cookie_t
  373.  **
  374.  *****************************************************************************/
  375.  
  376. xcb_void_cookie_t
  377. xcb_shm_attach (xcb_connection_t *c  /**< */,
  378.                 xcb_shm_seg_t     shmseg  /**< */,
  379.                 uint32_t          shmid  /**< */,
  380.                 uint8_t           read_only  /**< */);
  381.  
  382. /**
  383.  * Delivers a request to the X server
  384.  * @param c The connection
  385.  * @return A cookie
  386.  *
  387.  * Delivers a request to the X server.
  388.  * 
  389.  * This form can be used only if the request will not cause
  390.  * a reply to be generated. Any returned error will be
  391.  * saved for handling by xcb_request_check().
  392.  */
  393.  
  394. /*****************************************************************************
  395.  **
  396.  ** xcb_void_cookie_t xcb_shm_detach_checked
  397.  ** 
  398.  ** @param xcb_connection_t *c
  399.  ** @param xcb_shm_seg_t     shmseg
  400.  ** @returns xcb_void_cookie_t
  401.  **
  402.  *****************************************************************************/
  403.  
  404. xcb_void_cookie_t
  405. xcb_shm_detach_checked (xcb_connection_t *c  /**< */,
  406.                         xcb_shm_seg_t     shmseg  /**< */);
  407.  
  408. /**
  409.  * Delivers a request to the X server
  410.  * @param c The connection
  411.  * @return A cookie
  412.  *
  413.  * Delivers a request to the X server.
  414.  * 
  415.  */
  416.  
  417. /*****************************************************************************
  418.  **
  419.  ** xcb_void_cookie_t xcb_shm_detach
  420.  ** 
  421.  ** @param xcb_connection_t *c
  422.  ** @param xcb_shm_seg_t     shmseg
  423.  ** @returns xcb_void_cookie_t
  424.  **
  425.  *****************************************************************************/
  426.  
  427. xcb_void_cookie_t
  428. xcb_shm_detach (xcb_connection_t *c  /**< */,
  429.                 xcb_shm_seg_t     shmseg  /**< */);
  430.  
  431. /**
  432.  * Delivers a request to the X server
  433.  * @param c The connection
  434.  * @return A cookie
  435.  *
  436.  * Delivers a request to the X server.
  437.  * 
  438.  * This form can be used only if the request will not cause
  439.  * a reply to be generated. Any returned error will be
  440.  * saved for handling by xcb_request_check().
  441.  */
  442.  
  443. /*****************************************************************************
  444.  **
  445.  ** xcb_void_cookie_t xcb_shm_put_image_checked
  446.  ** 
  447.  ** @param xcb_connection_t *c
  448.  ** @param xcb_drawable_t    drawable
  449.  ** @param xcb_gcontext_t    gc
  450.  ** @param uint16_t          total_width
  451.  ** @param uint16_t          total_height
  452.  ** @param uint16_t          src_x
  453.  ** @param uint16_t          src_y
  454.  ** @param uint16_t          src_width
  455.  ** @param uint16_t          src_height
  456.  ** @param int16_t           dst_x
  457.  ** @param int16_t           dst_y
  458.  ** @param uint8_t           depth
  459.  ** @param uint8_t           format
  460.  ** @param uint8_t           send_event
  461.  ** @param xcb_shm_seg_t     shmseg
  462.  ** @param uint32_t          offset
  463.  ** @returns xcb_void_cookie_t
  464.  **
  465.  *****************************************************************************/
  466.  
  467. xcb_void_cookie_t
  468. xcb_shm_put_image_checked (xcb_connection_t *c  /**< */,
  469.                            xcb_drawable_t    drawable  /**< */,
  470.                            xcb_gcontext_t    gc  /**< */,
  471.                            uint16_t          total_width  /**< */,
  472.                            uint16_t          total_height  /**< */,
  473.                            uint16_t          src_x  /**< */,
  474.                            uint16_t          src_y  /**< */,
  475.                            uint16_t          src_width  /**< */,
  476.                            uint16_t          src_height  /**< */,
  477.                            int16_t           dst_x  /**< */,
  478.                            int16_t           dst_y  /**< */,
  479.                            uint8_t           depth  /**< */,
  480.                            uint8_t           format  /**< */,
  481.                            uint8_t           send_event  /**< */,
  482.                            xcb_shm_seg_t     shmseg  /**< */,
  483.                            uint32_t          offset  /**< */);
  484.  
  485. /**
  486.  * Delivers a request to the X server
  487.  * @param c The connection
  488.  * @return A cookie
  489.  *
  490.  * Delivers a request to the X server.
  491.  * 
  492.  */
  493.  
  494. /*****************************************************************************
  495.  **
  496.  ** xcb_void_cookie_t xcb_shm_put_image
  497.  ** 
  498.  ** @param xcb_connection_t *c
  499.  ** @param xcb_drawable_t    drawable
  500.  ** @param xcb_gcontext_t    gc
  501.  ** @param uint16_t          total_width
  502.  ** @param uint16_t          total_height
  503.  ** @param uint16_t          src_x
  504.  ** @param uint16_t          src_y
  505.  ** @param uint16_t          src_width
  506.  ** @param uint16_t          src_height
  507.  ** @param int16_t           dst_x
  508.  ** @param int16_t           dst_y
  509.  ** @param uint8_t           depth
  510.  ** @param uint8_t           format
  511.  ** @param uint8_t           send_event
  512.  ** @param xcb_shm_seg_t     shmseg
  513.  ** @param uint32_t          offset
  514.  ** @returns xcb_void_cookie_t
  515.  **
  516.  *****************************************************************************/
  517.  
  518. xcb_void_cookie_t
  519. xcb_shm_put_image (xcb_connection_t *c  /**< */,
  520.                    xcb_drawable_t    drawable  /**< */,
  521.                    xcb_gcontext_t    gc  /**< */,
  522.                    uint16_t          total_width  /**< */,
  523.                    uint16_t          total_height  /**< */,
  524.                    uint16_t          src_x  /**< */,
  525.                    uint16_t          src_y  /**< */,
  526.                    uint16_t          src_width  /**< */,
  527.                    uint16_t          src_height  /**< */,
  528.                    int16_t           dst_x  /**< */,
  529.                    int16_t           dst_y  /**< */,
  530.                    uint8_t           depth  /**< */,
  531.                    uint8_t           format  /**< */,
  532.                    uint8_t           send_event  /**< */,
  533.                    xcb_shm_seg_t     shmseg  /**< */,
  534.                    uint32_t          offset  /**< */);
  535.  
  536. /**
  537.  * Delivers a request to the X server
  538.  * @param c The connection
  539.  * @return A cookie
  540.  *
  541.  * Delivers a request to the X server.
  542.  * 
  543.  */
  544.  
  545. /*****************************************************************************
  546.  **
  547.  ** xcb_shm_get_image_cookie_t xcb_shm_get_image
  548.  ** 
  549.  ** @param xcb_connection_t *c
  550.  ** @param xcb_drawable_t    drawable
  551.  ** @param int16_t           x
  552.  ** @param int16_t           y
  553.  ** @param uint16_t          width
  554.  ** @param uint16_t          height
  555.  ** @param uint32_t          plane_mask
  556.  ** @param uint8_t           format
  557.  ** @param xcb_shm_seg_t     shmseg
  558.  ** @param uint32_t          offset
  559.  ** @returns xcb_shm_get_image_cookie_t
  560.  **
  561.  *****************************************************************************/
  562.  
  563. xcb_shm_get_image_cookie_t
  564. xcb_shm_get_image (xcb_connection_t *c  /**< */,
  565.                    xcb_drawable_t    drawable  /**< */,
  566.                    int16_t           x  /**< */,
  567.                    int16_t           y  /**< */,
  568.                    uint16_t          width  /**< */,
  569.                    uint16_t          height  /**< */,
  570.                    uint32_t          plane_mask  /**< */,
  571.                    uint8_t           format  /**< */,
  572.                    xcb_shm_seg_t     shmseg  /**< */,
  573.                    uint32_t          offset  /**< */);
  574.  
  575. /**
  576.  * Delivers a request to the X server
  577.  * @param c The connection
  578.  * @return A cookie
  579.  *
  580.  * Delivers a request to the X server.
  581.  * 
  582.  * This form can be used only if the request will cause
  583.  * a reply to be generated. Any returned error will be
  584.  * placed in the event queue.
  585.  */
  586.  
  587. /*****************************************************************************
  588.  **
  589.  ** xcb_shm_get_image_cookie_t xcb_shm_get_image_unchecked
  590.  ** 
  591.  ** @param xcb_connection_t *c
  592.  ** @param xcb_drawable_t    drawable
  593.  ** @param int16_t           x
  594.  ** @param int16_t           y
  595.  ** @param uint16_t          width
  596.  ** @param uint16_t          height
  597.  ** @param uint32_t          plane_mask
  598.  ** @param uint8_t           format
  599.  ** @param xcb_shm_seg_t     shmseg
  600.  ** @param uint32_t          offset
  601.  ** @returns xcb_shm_get_image_cookie_t
  602.  **
  603.  *****************************************************************************/
  604.  
  605. xcb_shm_get_image_cookie_t
  606. xcb_shm_get_image_unchecked (xcb_connection_t *c  /**< */,
  607.                              xcb_drawable_t    drawable  /**< */,
  608.                              int16_t           x  /**< */,
  609.                              int16_t           y  /**< */,
  610.                              uint16_t          width  /**< */,
  611.                              uint16_t          height  /**< */,
  612.                              uint32_t          plane_mask  /**< */,
  613.                              uint8_t           format  /**< */,
  614.                              xcb_shm_seg_t     shmseg  /**< */,
  615.                              uint32_t          offset  /**< */);
  616.  
  617. /**
  618.  * Return the reply
  619.  * @param c      The connection
  620.  * @param cookie The cookie
  621.  * @param e      The xcb_generic_error_t supplied
  622.  *
  623.  * Returns the reply of the request asked by
  624.  * 
  625.  * The parameter @p e supplied to this function must be NULL if
  626.  * xcb_shm_get_image_unchecked(). is used.
  627.  * Otherwise, it stores the error if any.
  628.  */
  629.  
  630. /*****************************************************************************
  631.  **
  632.  ** xcb_shm_get_image_reply_t * xcb_shm_get_image_reply
  633.  ** 
  634.  ** @param xcb_connection_t            *c
  635.  ** @param xcb_shm_get_image_cookie_t   cookie
  636.  ** @param xcb_generic_error_t        **e
  637.  ** @returns xcb_shm_get_image_reply_t *
  638.  **
  639.  *****************************************************************************/
  640.  
  641. xcb_shm_get_image_reply_t *
  642. xcb_shm_get_image_reply (xcb_connection_t            *c  /**< */,
  643.                          xcb_shm_get_image_cookie_t   cookie  /**< */,
  644.                          xcb_generic_error_t        **e  /**< */);
  645.  
  646. /**
  647.  * Delivers a request to the X server
  648.  * @param c The connection
  649.  * @return A cookie
  650.  *
  651.  * Delivers a request to the X server.
  652.  * 
  653.  * This form can be used only if the request will not cause
  654.  * a reply to be generated. Any returned error will be
  655.  * saved for handling by xcb_request_check().
  656.  */
  657.  
  658. /*****************************************************************************
  659.  **
  660.  ** xcb_void_cookie_t xcb_shm_create_pixmap_checked
  661.  ** 
  662.  ** @param xcb_connection_t *c
  663.  ** @param xcb_pixmap_t      pid
  664.  ** @param xcb_drawable_t    drawable
  665.  ** @param uint16_t          width
  666.  ** @param uint16_t          height
  667.  ** @param uint8_t           depth
  668.  ** @param xcb_shm_seg_t     shmseg
  669.  ** @param uint32_t          offset
  670.  ** @returns xcb_void_cookie_t
  671.  **
  672.  *****************************************************************************/
  673.  
  674. xcb_void_cookie_t
  675. xcb_shm_create_pixmap_checked (xcb_connection_t *c  /**< */,
  676.                                xcb_pixmap_t      pid  /**< */,
  677.                                xcb_drawable_t    drawable  /**< */,
  678.                                uint16_t          width  /**< */,
  679.                                uint16_t          height  /**< */,
  680.                                uint8_t           depth  /**< */,
  681.                                xcb_shm_seg_t     shmseg  /**< */,
  682.                                uint32_t          offset  /**< */);
  683.  
  684. /**
  685.  * Delivers a request to the X server
  686.  * @param c The connection
  687.  * @return A cookie
  688.  *
  689.  * Delivers a request to the X server.
  690.  * 
  691.  */
  692.  
  693. /*****************************************************************************
  694.  **
  695.  ** xcb_void_cookie_t xcb_shm_create_pixmap
  696.  ** 
  697.  ** @param xcb_connection_t *c
  698.  ** @param xcb_pixmap_t      pid
  699.  ** @param xcb_drawable_t    drawable
  700.  ** @param uint16_t          width
  701.  ** @param uint16_t          height
  702.  ** @param uint8_t           depth
  703.  ** @param xcb_shm_seg_t     shmseg
  704.  ** @param uint32_t          offset
  705.  ** @returns xcb_void_cookie_t
  706.  **
  707.  *****************************************************************************/
  708.  
  709. xcb_void_cookie_t
  710. xcb_shm_create_pixmap (xcb_connection_t *c  /**< */,
  711.                        xcb_pixmap_t      pid  /**< */,
  712.                        xcb_drawable_t    drawable  /**< */,
  713.                        uint16_t          width  /**< */,
  714.                        uint16_t          height  /**< */,
  715.                        uint8_t           depth  /**< */,
  716.                        xcb_shm_seg_t     shmseg  /**< */,
  717.                        uint32_t          offset  /**< */);
  718.  
  719.  
  720. #endif
  721.  
  722. /**
  723.  * @}
  724.  */
  725.